import {
  createRouter,
  createWebHistory,
  createWebHashHistory,
} from "vue-router";
import Home from '../page/Home/Home.vue'
const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
    children: [
    ],
  },
   {
    path: "/message",
    name: "Message",
    component: () =>
        import ('../page/Message/Message.vue'),
  },
    {
    path: "/bigData",
    name: "bigData",
    component: () =>
        import ('../page/BigData/BigData.vue'),
    children: [
    ],
  },
];

const router = createRouter({
  // history: createWebHistory(process.env.BASE_URL),
  history: createWebHashHistory(),
  routes,
});

export default router;
